ShellExec Directive

Sets the path/file name of the executable that is started from the server using WinExec().

Purpose

The ShellExec directive allows you to control which executable that httpd will run to begin the external script execution process. Normally, this is a PIF file that starts up a DOS VM which initially runs a DOS shell.


Syntax

ShellExec path/file

path/file is the DOS path and file specifying the executable to run.

Only one ShellExec directive is allowed in the configuration file.


Default

If you do not specify a ShellExec, httpd assumes:

ShellExec HSCRIPT.PIF


Examples

ShellExec C:\PERL\PERL.PIF

This will cause the server to exec the specified PIF file instead of the default.

Return to Wizard Scripting Overview


Robert B. Denny <rdenny@netcom.com>